module.exports = {
  host: "127.0.0.1",
  publicPath: '/',
  proxy: {
    '/techInfo': {
      // target: 'http://192.168.32.42:6683/',
      // target: 'http://123.56.234.210:9997/',
      // target: 'http://192.168.233.121:3000/',
      target: 'http://127.0.0.1:3000/',
      // target: 'http://123.56.234.210:9997/',
      changeOrigin: true,
      pathRewrite: {
        // 将访问路径的/api/替换成‘’，后台服务不用加api了,但前端的请求地址还是要加/api/
        "^/techInfo/": "",
      },

    },
  }
}